package com.powergisol.gis.service.impl;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixProperty;
import com.powergisol.gis.service.WMSService;
import feign.Response;
import org.springframework.stereotype.Service;


/**
 * @author Frog
 */
@Service
public class WMSServiceImpl implements WMSService {
    @Override
    @HystrixCommand(commandProperties = {
            @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds",value = "3000")
    })
    public String getWmsLayer(String transparent, String service, String version, String width, String height, String request, String styles, String format, String layers, String bbox, String uuid, String srs,String x,String y) {
        return null;
    }

    @Override
    @HystrixCommand(commandProperties = {
            @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds",value = "3000")
    })
    public Response getWmsLayerResponse(String transparent, String service, String version, String width, String height, String request, String styles, String format, String layers, String bbox, String uuid, String srs) {
        return null;
    }

//    @Override
//    @HystrixCommand(commandProperties = {
//            @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds",value = "3000")
//    })
//    public String getWfs1LayerResponse(String service, String request, int maxFeatures, String typeNames, String version, int startIndex) {
//        return null;
//    }

//    @Override
//    @HystrixCommand(commandProperties = {
//            @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds",value = "3000")
//    })
//    public String getWfs1LayerResponse(String service, String version, String request, String count, String startIndex, String typeName, String typeNames, String maxFeatures, String outputFormat, String filter) {
//        return null;
//    }

//    @Override
//    @HystrixCommand(commandProperties = {
//            @HystrixProperty(name = "execution.isolation.thread.timeoutInMilliseconds",value = "3000")
//    })
//    public String getWfsLayerResponse(String service, String request, int count, String typeName, String version, int startIndex) {
//        return null;
//    }
}
